package sctu.edu.java.year2016.team07.nieying.day20160524.chapter7_3;

import java.util.Scanner;

/**
 * Created by Administrator on 2016/5/24 0024.
 */

/**
 * 根据运行的参数的次数i,决定循环打印的次数。
 */
public class Daying {
    static void student(){
        System.out.println("I am a student!");
    }
    public static void main(String[] args){
        System.out.println("请输入打印次数: \n");
        Scanner a=new Scanner(System.in);
        int b=a.nextInt();
        for(int i=0;i<=b;i++){
            student();
        }
    }



}
